package com.internetCafes.spms.web.project.entity.vo.projectconfig;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 项目人员分页列表返回参数
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProjectCertificatesPagingVO {

    @ApiModelProperty(value = "数据唯一标识id")
    private Long id;

    @ApiModelProperty(value = "类型 1在职员工,2挂靠，3非在职员工")
    private Integer certificateType;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "证书类型")
    private String idType;

    @ApiModelProperty(value = "专业")
    private String profession;

    @ApiModelProperty(value = "证书编号")
    private String certificateNo;

    @ApiModelProperty(value = "到期日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date validityEndTime;

    @ApiModelProperty(value = "证书预警 1-未到期 2-预警 3-已到期")
    private Integer warningFlag;

    @ApiModelProperty(value = "证书预警内容")
    private String warningInfo;
}
